package com.atguigu.tingshu.album.mapper;

import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.vo.album.AlbumCategoryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {


    List<AlbumCategoryVo> getBaseCategoryList();

    AlbumCategoryVo getBaseCategoryListByOneId(@Param("cId") Long category1Id);
}
